package a2;
public class Course {
	int id;
	String name;
	String place;
	String time;

    public Course(String name, int id, String place, String time) {
        this.id = id;
        this.name = name;
        this.place = place;
        this.time = time;
    }
    public String toString(){
        return "科目:"+ name+ " 班课号:"+id+" 地点:"+place+" 上课时间:"+time;
    }
}